package com.hdw.job.bean.model;

import java.io.Serializable;
import java.util.Date;

public class EtlTaskDw implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long idTaskDw;

    private Long idTb;

    private String cdTb;

    /**
     * 系统
     */	
    private String sdSys;

    private String na;

    /**
     * 数据来源抽取配置ID
     */	
    private String sourTaskId;

    /**
     * 数据来源表
     */	
    private String sourTable;

    private String dateColumn;

    private String des;

    private Boolean fgAct;

    private Date dtSysCre;

    private Date dtSysModi;

    public Long getIdTaskDw() {
        return idTaskDw;
    }

    public void setIdTaskDw(Long idTaskDw) {
        this.idTaskDw = idTaskDw;
    }

    public Long getIdTb() {
        return idTb;
    }

    public void setIdTb(Long idTb) {
        this.idTb = idTb;
    }

    public String getCdTb() {
        return cdTb;
    }

    public void setCdTb(String cdTb) {
        this.cdTb = cdTb == null ? null : cdTb.trim();
    }

    public String getSdSys() {
        return sdSys;
    }

    public void setSdSys(String sdSys) {
        this.sdSys = sdSys == null ? null : sdSys.trim();
    }

    public String getNa() {
        return na;
    }

    public void setNa(String na) {
        this.na = na == null ? null : na.trim();
    }

    public String getSourTaskId() {
        return sourTaskId;
    }

    public void setSourTaskId(String sourTaskId) {
        this.sourTaskId = sourTaskId == null ? null : sourTaskId.trim();
    }

    public String getSourTable() {
        return sourTable;
    }

    public void setSourTable(String sourTable) {
        this.sourTable = sourTable == null ? null : sourTable.trim();
    }

    public String getDateColumn() {
        return dateColumn;
    }

    public void setDateColumn(String dateColumn) {
        this.dateColumn = dateColumn == null ? null : dateColumn.trim();
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }

    public Boolean getFgAct() {
        return fgAct;
    }

    public void setFgAct(Boolean fgAct) {
        this.fgAct = fgAct;
    }

    public Date getDtSysCre() {
        return dtSysCre;
    }

    public void setDtSysCre(Date dtSysCre) {
        this.dtSysCre = dtSysCre;
    }

    public Date getDtSysModi() {
        return dtSysModi;
    }

    public void setDtSysModi(Date dtSysModi) {
        this.dtSysModi = dtSysModi;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EtlTaskDw other = (EtlTaskDw) that;
        return (this.getIdTaskDw() == null ? other.getIdTaskDw() == null : this.getIdTaskDw().equals(other.getIdTaskDw()))
            && (this.getIdTb() == null ? other.getIdTb() == null : this.getIdTb().equals(other.getIdTb()))
            && (this.getCdTb() == null ? other.getCdTb() == null : this.getCdTb().equals(other.getCdTb()))
            && (this.getSdSys() == null ? other.getSdSys() == null : this.getSdSys().equals(other.getSdSys()))
            && (this.getNa() == null ? other.getNa() == null : this.getNa().equals(other.getNa()))
            && (this.getSourTaskId() == null ? other.getSourTaskId() == null : this.getSourTaskId().equals(other.getSourTaskId()))
            && (this.getSourTable() == null ? other.getSourTable() == null : this.getSourTable().equals(other.getSourTable()))
            && (this.getDateColumn() == null ? other.getDateColumn() == null : this.getDateColumn().equals(other.getDateColumn()))
            && (this.getDes() == null ? other.getDes() == null : this.getDes().equals(other.getDes()))
            && (this.getFgAct() == null ? other.getFgAct() == null : this.getFgAct().equals(other.getFgAct()))
            && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre()))
            && (this.getDtSysModi() == null ? other.getDtSysModi() == null : this.getDtSysModi().equals(other.getDtSysModi()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getIdTaskDw() == null) ? 0 : getIdTaskDw().hashCode());
        result = prime * result + ((getIdTb() == null) ? 0 : getIdTb().hashCode());
        result = prime * result + ((getCdTb() == null) ? 0 : getCdTb().hashCode());
        result = prime * result + ((getSdSys() == null) ? 0 : getSdSys().hashCode());
        result = prime * result + ((getNa() == null) ? 0 : getNa().hashCode());
        result = prime * result + ((getSourTaskId() == null) ? 0 : getSourTaskId().hashCode());
        result = prime * result + ((getSourTable() == null) ? 0 : getSourTable().hashCode());
        result = prime * result + ((getDateColumn() == null) ? 0 : getDateColumn().hashCode());
        result = prime * result + ((getDes() == null) ? 0 : getDes().hashCode());
        result = prime * result + ((getFgAct() == null) ? 0 : getFgAct().hashCode());
        result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
        result = prime * result + ((getDtSysModi() == null) ? 0 : getDtSysModi().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", idTaskDw=").append(idTaskDw);
        sb.append(", idTb=").append(idTb);
        sb.append(", cdTb=").append(cdTb);
        sb.append(", sdSys=").append(sdSys);
        sb.append(", na=").append(na);
        sb.append(", sourTaskId=").append(sourTaskId);
        sb.append(", sourTable=").append(sourTable);
        sb.append(", dateColumn=").append(dateColumn);
        sb.append(", des=").append(des);
        sb.append(", fgAct=").append(fgAct);
        sb.append(", dtSysCre=").append(dtSysCre);
        sb.append(", dtSysModi=").append(dtSysModi);
        sb.append("]");
        return sb.toString();
    }
}